import request from '@/utils/request'

// 获取请假统计数据
export function getLeaveStatistics(query) {
  return request({
    url: '/leave/stats' + (typeof query === 'string' ? query : ''),
    method: 'get',
    params: typeof query === 'object' ? query : null
  })
} 